<?xml version="1.0" encoding="UTF-8"?>
<p:beans xmlns:p="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd ">

	<p:bean id="testService" class="com.netease.spring.autoproxy.TestService"/>
	
	<p:bean id="performanceThresholdInterceptor" class="com.netease.spring.autoproxy.PerformanceThresholdInterceptor">
		<p:constructor-arg>
			<p:value>5000</p:value>
		</p:constructor-arg>
	</p:bean>
	
	<p:bean id="performanceThresholdProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
		<p:property name="beanNames">
			<p:list>
				<p:value>*Service</p:value>
			</p:list>
		</p:property>
		
		<p:property name="interceptorNames">
			<p:value>performanceThresholdInterceptor</p:value>
		</p:property>
	</p:bean>
</p:beans>
